package com.gzz.demo.multithread.thread;

public class GetThread extends Thread {
	private Plate plate;

	public GetThread(Plate plate) {
		this.plate = plate;
	}

	public void run() {
		for (int i = 0; i < 5; i++) {
			plate.getEgg();
		}
	}
}